package org.wedding.center.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.wedding.center.dto.vo.AttachVo;

/**
 * 服务信息表(ServiceInfo)实体类
 *
 * @author songkaiyue
 * @since 2025-05-16 10:42:50
 */
@TableName(value = "service_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ServiceInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /**
     * 唯一标识
     */
    @Schema(description = "唯一标识")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

     /**
     * 用户id
     */
    @Schema(description = "用户id")
    @TableField(value = "user_id")
    private String userId;
    

     /**
     * 服务类型
     */
    @Schema(description = "服务类型")
    @TableField(value = "type")
    private String type;
    

     /**
     * 价格
     */
    @Schema(description = "价格")
    @TableField(value = "amount")
    private BigDecimal amount;
    

     /**
     * 服务名称
     */
    @Schema(description = "服务名称")
    @TableField(value = "name")
    private String name;
    

     /**
     * 服务概述
     */
    @Schema(description = "服务概述")
    @TableField(value = "overview")
    private String overview;
    

     /**
     * 服务详情
     */
    @Schema(description = "服务详情")
    @TableField(value = "details")
    private String details;


     /**
     * 服务主图
     */
    @Schema(description = "服务主图")
    @TableField(value = "img_url")
    private String imgUrl;
    

     /**
     * 地址
     */
    @Schema(description = "地址")
    @TableField(value = "address")
    private String address;
    

     /**
     * 服务款式/风格/规格
     */
    @Schema(description = "服务款式/风格/规格")
    @TableField(value = "format")
    private String format;
    

     /**
     * 婚车头车
     */
    @Schema(description = "婚车头车")
    @TableField(value = "lead_car")
    private String leadCar;
    

     /**
     * 婚车跟车
     */
    @Schema(description = "婚车跟车")
    @TableField(value = "follow_car")
    private String followCar;

     /**
     * 付款方式
     */
    @Schema(description = "付款方式 ")
    @TableField(value = "is_deposit")
    private String isDeposit;
    

     /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @TableField(value = "create_time")
    private String createTime;
    

     /**
     * 修改时间
     */
    @Schema(description = "修改时间")
    @TableField(value = "update_time")
    private String updateTime;
    

     /**
     * 删除标识：0:未删除  1:已删除
     */
    @Schema(description = "删除标识：0:未删除  1:已删除")
    @TableField(value = "del_flag")
    private String delFlag;

    /**
     * 订单数量
     */
    @TableField(exist = false)
    private String orderNum;

    @TableField(exist = false)
    private List<String> attachIds;

    @TableField(exist = false)
    private List<AttachVo> attachInfos;

    @TableField(exist = false)
    private String formatName;


}

